home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
By Popular Request 2.0
/
By Popular Request 2.0 (Arsenal Computer).ISO
/
amiga_1
/
algmsc12.lha
/
AlgoMusic
/
AlgoMusic.doc
< prev
Wrap
Text File
|
1995-04-18
|
7KB
|
190 lines
AlgoMusic (C) 1995 by Thomas Schⁿrger
**************************************
Copyright
---------
AlgoMusic is Freeware. This means that you can copy, use or even delete it
in any manner you like. But you mustn't modify ANY of the files supplied in
the AlgoMusic-archive, crunching with any packer available to the public is
allowed, though. You may not gain any commercial or private profit out of
this program.
AlgoMusic may be taken for use in any PD/Freeware/Shareware library
(including Aminet and Fred Fish's library), but I would like to be informed
about it via e-mail. You are asked to upload it on every BBS you see! B)
Introduction
------------
Ever been tired of looking into your soundmodule-directory and yawning
your head off because you've heard all your mods thousands of times? Well,
here is the ultimate solution!
AlgoMusic is a little (?) program that creates and plays a song
randomly out of a series of algorithms. Just try it, it sounds nice. :)
It was developed on a PAL Amiga 1200 with 68030/50. It has also been
tested on an A500+, but never on a 040/060 processor. If you have any
problems (especially with CPU-caches left on on those processors) getting
it run on your own machine, please let me know.
It first creates the song (which is very fast), then switches to a
task priority of 25 (it needs as little CPU-time as possible) and switches
off the filter (if not disabled), then plays and restores everything
afterwards. It is safe to break AlgoMusic at any time. Another way to
end AlgoMusic is to start AlgoMusic again from another task (arguments
except QUIET then are ignored).
Usage:
------
Upto this stage, AlgoMusic can only be start via Shell or using
"Execute Command" via Workbench.
The argument-template looks as follows:
SPEED=DELAY/K/N,FOREVER/S,QUIET/S,FILTER/S
SPEED=DELAY n This is the speed the created song is played at. The lower
the number, the faster it is played. The standard speed is
4. The speed must be in the range of [2..8].
FOREVER=REPEAT If you want AlgoMusic to go on playing forever, this is the
right switch to use. After finishing a song, a new song is
quickly created and played. By default, FOREVER is switched
off.
QUIET All output is supressed, except error messages.
FILTER If this switch is activated, then the audio filter is
switched on. By default, the filter is switched off.
NOFADE Normally, the song is smoothly faded out in the song's
last pattern. Using this switch, you can disable this.
VOLUME n This sets the volume the song is played. It can range from
0 to 64. Default is 64 (maximum volume).
Examples:
1> AlgoMusic SPEED 5
would play it a bit slower than with the default value.
If you like it fast, you might use
1> AlgoMusic SPEED 3 :^)
If you already have an AlgoMusic process running, you can stop it either
by sending a break signal to the process or by just running AlgoMusic again.
Changes
-------
Dates are dates of release as well as dates of last change.
Changes since V1.0 (12-Apr-95 at 1 a.m.):
V1.1 (12-Apr-95 afternoon)
---------------------------
o Added the ability to choose playing speed per argument.
o Used better rhythm samples (basedrum, clap).
o Added other chords, bassesá& melodies.
o Added version-string :)
o Added more freedom for creating the song-structure.
V1.2: (18-Apr-95)
------------------
o Added optional fadeout at the end of the song.
o Now Kick 2.0 (V36) is required (!).
o Added proper argument handling by using ReadArgs().
o Added new switches: FOREVER, QUIET, FILTER and NOFADE.
o Added the ability to set VOLUME.
o Added some more rhythms, chords, basses and melodies.
o Enhanced random generator.
Bugs/Problems
-------------
o Uses direct hardware access on audiochannels.
o Does not yet allocate audiochannels.
o Sometimes does not run 100% smooth, especially when windows are
opened (e.g. when blitter operations are performed).
o On a 60 Hz screen, AlgoMusic runs 20% faster than on a 50 Hz screen.
Perhaps I will add CIA-timing later.
Author
------
If you like this, or even if you don't, if you have any suggestions,
questions or ideas, or if you have found any bugs, send a mail to:
Phobos@eratosth.wwb.sub.de
or: T.Schuerger@proline.gun.de (preferably)
I would be very pleased to receive a lot of feedback.
My PGP-key: (use it if you can!)
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: 2.6ui (Amiga)
mQCNAi6SRPYAAAEEAMHGFQM/HLl5g+IoORD+ErAru7Dd17S1OkqyD2t6qWDGjTPE
ym7bd1ESLoWeXtfNiqvkbdeV9gELmFZ8cT5uKicesCMZkOtIuu23rDLccIXClQU+
RU1sVsTAub2Gm4RSg15XrMipqC5Waf/+QAlwlq6u5qtjVgMAMys4JdI2NDr5AAUR
tC1UaG9tYXMgU2NodWVyZ2VyIDxULlNjaHVlcmdlckBwcm9saW5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